Kanzi 4.0.0-beta2
kanzi::gfx::ComputeResourceSetCreateInfo Struct Reference

Creation information for a set of compute resources used by a shader program. More...

#include <kanzi/gfx/create_info.hpp>

Inheritance diagram for kanzi::gfx::ComputeResourceSetCreateInfo:
[legend]

Public Types

using HandleType
 Compute resource set handle.
 

Public Attributes

ComputePipelineHandleGuard computePipeline
 A compute pipeline for the resource set.
 
uint32_t setIndex
 The index of the set belonging to the compute pipeline that this resource set uses.
 
- Public Attributes inherited from kanzi::gfx::ResourceSetCreateInfo
VectorMap< string, ImageViewimageViews
 Mapping of a string identifier from the shader and an image view.
 
VectorMap< string, Samplersamplers
 Mapping of a string identifier from the shader and a sampler.
 
VectorMap< string, BufferViewstorageBufferViews
 Mapping of a string identifier from the shader and a storage buffer view.
 
VectorMap< string, TexelBufferViewtexelBufferViews
 Mapping of a string identifier from the shader and a texel or image buffer view.
 
VectorMap< string, BufferViewuniformBufferViews
 Mapping of a string identifier from the shader and a uniform buffer view.
 
- Public Attributes inherited from kanzi::gfx::BaseCreateInfo
string_view name
 The name of the graphics object, useful for debugging.
 

Detailed Description

Creation information for a set of compute resources used by a shader program.

The set represents the unit of binding for resources. Requires FeatureId::Compute.

Since
Kanzi 4.0.0

Member Typedef Documentation

◆ HandleType

Member Data Documentation

◆ computePipeline

ComputePipelineHandleGuard kanzi::gfx::ComputeResourceSetCreateInfo::computePipeline

A compute pipeline for the resource set.

This only limits the usage of the compute resource set to pipelines that are compatible with the provided pipeline. It does not require the exact pipeline for all usage.

◆ setIndex

uint32_t kanzi::gfx::ComputeResourceSetCreateInfo::setIndex

The index of the set belonging to the compute pipeline that this resource set uses.


The documentation for this struct was generated from the following file: